package com.hicorp.segment.pojo.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hicorp.segment.pojo.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Transient;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class DeviceMaintenance extends BaseDO {

    /**
     * 编号
     */
    private String equipmentNo;

    private String equipmentName;

    private String maintenanceProgram;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date maintenanceTime;

    private String maintenanceResult;

    private String maintenancePerson;

    private String chargePhone;

    private String remark;

    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date maintenanceTimeStart;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Transient
    private Date maintenanceTimeEnd;
}
